<template>
	<view class="">
		<view>乘法页面</view>
		<view>
			<Calculate @calculate = "handleMultiply" operation='*'></Calculate>
			<view>乘法结果：{{ result }}</view>
		</view>
	</view>
</template>

<script setup>
	import Calculate from '@/components/calculator/calculator.vue'
import { ref } from 'vue';
	
	const result =ref(0)
	
	const handleMultiply = ({num1,num2}) =>{
		result.value = num1 * num2
	}
</script>

<style lang="scss" scoped>
	
</style>
